package sg.edu.nus.iss.team4.entity;

public class Answer {
	private Integer id;
	private String answerText;
	private Integer displayOrder;
	
	private Question question;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getAnswerText() {
		return answerText;
	}

	public void setAnswerText(String answerText) {
		this.answerText = answerText;
	}

	public Integer getDisplayOrder() {
		return displayOrder;
	}

	public void setDisplayOrder(Integer displayOrder) {
		this.displayOrder = displayOrder;
	}

	public Question getQuestion() {
		return question;
	}

	public void setQuestion(Question question) {
		this.question = question;
	}
	
	public String toString() {
		return "ID = " + id + ", Answer = " + answerText + ", order = " + displayOrder; 
	}
}